-
Home
-
Disco – WooCommerce Dynamic Pricing & Discount Rules Plugin
-
1.2.81
-
Code
-
Classes
- Config
| Total Complexity |
51 |
| Dependencies |
1 |
| Dependents |
6 |
| Total lines |
369 |
| Lines of code |
180 |
| Logical lines of code |
77 |
| Comment lines |
135 |
| Methods |
19 |
| Properties |
1 |
Methods 19
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| product_is_applicable() |
A |
50 |
12 |
27 |
| get_product_ids() |
S |
55 |
7 |
21 |
| get_discount_rules() |
S |
52 |
5 |
24 |
| get_conditions() |
S |
61 |
5 |
13 |
| get_rule_product_ids() |
S |
61 |
4 |
13 |
| set_config() |
S |
49 |
1 |
34 |
| get_discount_value() |
S |
70 |
3 |
6 |
| get_discount_based_on() |
S |
71 |
2 |
6 |
| get_discount_label() |
S |
70 |
2 |
6 |
| __construct() |
S |
80 |
1 |
3 |
| get_config() |
S |
82 |
1 |
3 |
| get_discount_intent() |
S |
80 |
1 |
3 |
| get_bogo_type() |
S |
80 |
1 |
3 |
| set_discount_rules() |
S |
80 |
1 |
3 |
| get_discounts() |
S |
80 |
1 |
3 |
| __isset() |
S |
79 |
1 |
3 |
| __get() |
S |
80 |
1 |
3 |
| __set() |
S |
80 |
1 |
3 |
| __unset() |
S |
80 |
1 |
3 |